<template>
    <div>
        <h2 style="text-align: center;">
            共456元，{{name}}请缴费
        </h2>
        <img style="width: 400px;height: 400px; margin-left: 425px;" src="../img/Code.jpg">
        <br>
        <div ><router-link to="/printPrescription"><el-button type="primary" style="margin-left: 580px" >打印药方</el-button></router-link></div>
    </div>
</template>

<script>
    export default {
        name: "PayPage",
        data(){
            return{
                name:'',
            }
        },
        mounted() {
            this.name=this.$route.params.name;
        }
    }
</script>

<style scoped>

</style>